﻿if exists (select * from sysobjects where id = object_id(N'pBUGLOGTestResultsDelete') and sysstat & 0xf = 4) drop procedure pBUGLOGTestResultsDelete 
GO

-- Deletes a record from the [dbo].[TestResults] table.
CREATE PROCEDURE pBUGLOGTestResultsDelete
        @pk_TestResultID int
AS
BEGIN
    DELETE [dbo].[TestResults]
    WHERE [TestResultID] = @pk_TestResultID
END

